-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.2.0 (latest)
-
Code
-
Classes
- DirectoryModel
Total Complexity |
105 |
Dependencies |
7 |
Dependents |
4 |
Total lines |
573 |
Lines of code |
362 |
Logical lines of code |
198 |
Comment lines |
81 |
Methods |
23 |
Properties |
9 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check() |
A |
44 |
13 |
49 |
__construct() |
A |
44 |
13 |
45 |
fileFilter() |
A |
45 |
13 |
41 |
getFiles() |
A |
48 |
12 |
30 |
getSubDirectories() |
A |
51 |
9 |
27 |
getRelativePath() |
S |
51 |
6 |
28 |
recursiveDelete() |
S |
59 |
6 |
14 |
getFolderSize() |
S |
57 |
4 |
19 |
reverseConstructPath() |
S |
56 |
4 |
17 |
getPermissions() |
S |
61 |
3 |
14 |
constructUsualDirectories() |
S |
60 |
3 |
13 |
exists() |
S |
69 |
3 |
7 |
isSubFolderOf() |
S |
66 |
3 |
9 |
getPermissionRecursive() |
S |
64 |
2 |
11 |
is_readable() |
S |
70 |
2 |
7 |
is_writable() |
S |
70 |
2 |
7 |
is_virtual() |
S |
82 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
getName() |
S |
82 |
1 |
3 |
getModified() |
S |
80 |
1 |
3 |
getPath() |
S |
82 |
1 |
3 |
getParent() |
S |
71 |
1 |
6 |
delete() |
S |
80 |
1 |
3 |